package com.zrrd.mybatisplusFirst.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author WanJl
 * @version 1.0
 * @title Person
 * @description
 * @create 2024/3/23
 */
@Data
@AllArgsConstructor//全参构造方法
@NoArgsConstructor//无参构造方法
@Accessors(chain = true)    //开启链式编程
public class Person {
    private Integer id;
    private String name;
    private Integer age;
    private String username;

    @TableField(value = "pwd")
    private String password;
}
